package com.leiyuee.Lock;

/**
 * @Classname SynchronizedTest
 * @Description TODO
 * @Date 2022/7/11 13:53
 * @Created leiyu
 */
public class SynchronizedTest {

    public synchronized  void test1(){

    }

    public  void test2 (){
        synchronized (this){
        }
    }



}
